<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			
			var str='12 fff 87 er334 6 233 -=-=fa80 ';
			var re=/\d+/g;
			var jg =str.match(re);
			console.log(jg);
			
		</script>
	</body>
</html>
